<?xml version='1.0' encoding='UTF-8' ?>
<!--
    Document   : menu
    Created on : Apr 13, 2011, 11:17:49 AM
    Author     : EaDeveloper
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition  xmlns="http://www.w3.org/1999/xhtml"
                 xmlns:ui="http://java.sun.com/jsf/facelets"
                 xmlns:f="http://java.sun.com/jsf/core"
                 xmlns:h="http://java.sun.com/jsf/html"
                 xmlns:c="http://java.sun.com/jsp/jstl/core"
                 xmlns:pou="http://primefaces.org/ui">
    <!-- ${facesContext.externalContext.requestContextPath} -->
    <!-- ${usuarioFc.loged} -->

    <h:panelGroup style="height: 590px;" rendered="#{!usuarioFc.loged}" layout="block" >
        <pou:panel style="width: 400px;">
            <f:facet name="header">
                <h:outputText value="Autenticacion" />                    
            </f:facet>
            <h:panelGrid >
                <pou:messages />
                <h:panelGrid columns="2">
                    <h:outputText value="Usuario:" />
                    <pou:inputText size="30" value="#{usuarioFc.usuario}" />
                    <h:outputText  value="Clave:" />
                    <pou:password feedback="false" size="30" value="#{usuarioFc.clave}" />
                    <h:outputText value=" "/>
                    <pou:commandButton icon="ui-icon-locked" ajax="false" onstart="dlgwait.show()" oncomplete="dlgwait.hide()" value="Ingresar" actionListener="#{mbUsuarios.validarUsuario()}" update="@form" />
                </h:panelGrid>
                <h:panelGroup layout="block" style="font-size: 9px; color: #777;">
                    <h:panelGrid columns="4">
                        <h:outputText value="Version 1.0" />
                        <h:outputText value="/ 2013" />
                        <h:outputText value="/ Desarrollado por EaSoftware" />
                        <h:outputText value="/ Guatemala" />
                    </h:panelGrid>
                </h:panelGroup>
            </h:panelGrid>
        </pou:panel>
    </h:panelGroup>

</ui:composition>
